package spikes.images;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;

@SuppressWarnings("serial")
public class Immage extends JPanel {
		
	@Override
	public void paint(Graphics g) {
		g.setFont(new Font("Verdana",0,60));
		Image i = new ImageIcon("a.png").getImage();
		g.drawImage(i,110,10,null,null);
		g.drawString("Hejsan", 10, 70);
		g.drawImage(i,10,10,null,null);
	}
}
